package com.ts.enterprise.module.user.service;



import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.ts.enterprise.common.service.CommonService;

import com.ts.enterprise.module.user.mapper.UserMapper;
import com.ts.enterprise.module.user.entity.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author dean
 * @since 2021-10-18
 */
@Service
@Slf4j
public class UserService extends ServiceImpl<UserMapper, User>  {

    @Autowired
    private PasswordEncoder passwordEncoder;

    @Autowired
    private CommonService commonService;

    @Resource
    private UserService userService;


    @Value("${system.isDebug}")
    private Boolean isDebug;

    @Autowired
    private UserMapper userMapper;

    @Autowired
    private LoginService loginService;



}
